//
//  ListenViewController.h
//  DialectShare
//
//  Created by timmy zhong on 3/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "Dialect.h"
#import "UserProxy.h"
#import "DialectProxy.h"


@interface ListenViewController : UIViewController <AVAudioPlayerDelegate, ProxyDelegate>
@property (nonatomic, retain) Dialect *dialect;
@property (nonatomic, retain) IBOutlet UIView *avatarContainer;
@property (nonatomic, retain) IBOutlet UILabel *name, *goodCount, *badCount, *content;
@property (nonatomic, retain) IBOutlet UIButton *followButton, *playButton;
@property (nonatomic, assign) BOOL canShowUserDialects;

- (IBAction)listen:(id)sender;
- (IBAction)follow:(id)sender;
- (IBAction)goodbad:(id)sender;
- (IBAction)comment:(id)sender;

@end
